const articleControllers = require('./server/articleControllers');
const commentControllers = require('./server/commentControllers');
const diaryControllers = require('./server/diaryControllers');
const fileControllers = require('./server/fileControllers');
const labelControllers = require('./server/labelControllers');
const messageControllers = require('./server/messageControllers');
const subsetControllers = require('./server/subsetControllers');
const userControllers = require('./server/userControllers');
const overviewServer = require('./server/overviewServer');

const server = {
  ...articleControllers,
  ...commentControllers,
  ...diaryControllers,
  ...fileControllers,
  ...labelControllers,
  ...messageControllers,
  ...subsetControllers,
  ...userControllers,
  ...overviewServer
};

module.exports = { server };